package com.incar.chuxing.bean;

import java.util.List;

public class OcrResultBean {

    /**
     * msg_code : 200
     * message : success
     * attachment : {"log_id":680117924514901500,"words_result":{"color":"blue","number":"鲁B66GX8","probability":[0.9999146461486816,0.9998292922973633,0.9955403208732605,0.9691260457038879,1,0.9999992847442627,0.9993890523910522],"vertexes_location":[{"x":152,"y":506},{"x":1759,"y":557},{"x":1735,"y":950},{"x":136,"y":905}]}}
     * requestId : 0aff003a5be2983f00000001000070da
     * time : 1541576768
     */

    private int msg_code;
    private String message;
    private AttachmentBean attachment;
    private String requestId;
    private int time;

    public int getMsg_code() {
        return msg_code;
    }

    public void setMsg_code(int msg_code) {
        this.msg_code = msg_code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class AttachmentBean {
        /**
         * log_id : 680117924514901500
         * words_result : {"color":"blue","number":"鲁B66GX8","probability":[0.9999146461486816,0.9998292922973633,0.9955403208732605,0.9691260457038879,1,0.9999992847442627,0.9993890523910522],"vertexes_location":[{"x":152,"y":506},{"x":1759,"y":557},{"x":1735,"y":950},{"x":136,"y":905}]}
         */

        private long log_id;
        private WordsResultBean words_result;

        public long getLog_id() {
            return log_id;
        }

        public void setLog_id(long log_id) {
            this.log_id = log_id;
        }

        public WordsResultBean getWords_result() {
            return words_result;
        }

        public void setWords_result(WordsResultBean words_result) {
            this.words_result = words_result;
        }

        public static class WordsResultBean {
            /**
             * color : blue
             * number : 鲁B66GX8
             * probability : [0.9999146461486816,0.9998292922973633,0.9955403208732605,0.9691260457038879,1,0.9999992847442627,0.9993890523910522]
             * vertexes_location : [{"x":152,"y":506},{"x":1759,"y":557},{"x":1735,"y":950},{"x":136,"y":905}]
             */

            private String color;
            private String number;
            private List<Double> probability;
            private List<VertexesLocationBean> vertexes_location;

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public List<Double> getProbability() {
                return probability;
            }

            public void setProbability(List<Double> probability) {
                this.probability = probability;
            }

            public List<VertexesLocationBean> getVertexes_location() {
                return vertexes_location;
            }

            public void setVertexes_location(List<VertexesLocationBean> vertexes_location) {
                this.vertexes_location = vertexes_location;
            }

            public static class VertexesLocationBean {
                /**
                 * x : 152
                 * y : 506
                 */

                private int x;
                private int y;

                public int getX() {
                    return x;
                }

                public void setX(int x) {
                    this.x = x;
                }

                public int getY() {
                    return y;
                }

                public void setY(int y) {
                    this.y = y;
                }
            }
        }
    }
}
